<?php

namespace liketp\contract;

use liketp\Request;
use liketp\Response;

abstract class MiddlewareOnion
{
    abstract public function handle(callable $next, Request $request, ?array $params = []): Response;
}
